const express = require('express')
const router = express.Router()
const routerHandler = require("../../router_handler/user")


//首次进入自动注册账号
router.post('/firstRegist',routerHandler.firstRegist)

//注册
router.post('/regist',routerHandler.regist)
//登录
router.post('/login',routerHandler.login)
//获取用户信息
// router.get('/getUserInfo',routerHandler.getUserInfo)
//注销账号
router.post('/removeAccount',routerHandler.removeAccount)

module.exports = router